package com.train.pojo;

import java.util.Date;

public class HistoryRecord {
    private Integer historyRecordId;

    private String openid;

    private Integer courseId;

    private Date historyRecordCreateTime;

    private Date historyRecordUpdateTime;

    private Integer isSubscribe;

    public HistoryRecord(Integer historyRecordId, String openid, Integer courseId, Date historyRecordCreateTime, Date historyRecordUpdateTime, Integer isSubscribe) {
        this.historyRecordId = historyRecordId;
        this.openid = openid;
        this.courseId = courseId;
        this.historyRecordCreateTime = historyRecordCreateTime;
        this.historyRecordUpdateTime = historyRecordUpdateTime;
        this.isSubscribe = isSubscribe;
    }

    public HistoryRecord() {
        super();
    }

    public Integer getHistoryRecordId() {
        return historyRecordId;
    }

    public void setHistoryRecordId(Integer historyRecordId) {
        this.historyRecordId = historyRecordId;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid == null ? null : openid.trim();
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Date getHistoryRecordCreateTime() {
        return historyRecordCreateTime;
    }

    public void setHistoryRecordCreateTime(Date historyRecordCreateTime) {
        this.historyRecordCreateTime = historyRecordCreateTime;
    }

    public Date getHistoryRecordUpdateTime() {
        return historyRecordUpdateTime;
    }

    public void setHistoryRecordUpdateTime(Date historyRecordUpdateTime) {
        this.historyRecordUpdateTime = historyRecordUpdateTime;
    }

    public Integer getIsSubscribe() {
        return isSubscribe;
    }

    public void setIsSubscribe(Integer isSubscribe) {
        this.isSubscribe = isSubscribe;
    }
}